home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Shareware / Multimedia / extrememov / extrememm2.6b3sharefull.exe / {app} / scripts / [FILM.ONET.PL] - (Movie Info Import)@Cof 29_04_2003.txt < prev    next >
Encoding:
Text File  |  2003-04-30  |  10.6 KB  |  407 lines

  1. -----------------------------------------------
  2. -                 DivxManager                 -
  3. -            MagicScript Technology           -
  4. -          2002 Alessio "AleTsg" Viti         -
  5. -----------------------------------------------
  6. - Web :      FILM.ONET.PL - (POLAND)            -
  7. - Autor :    Cof (cof24@poczta.onet.pl)       -
  8. - Date  :    29/04/2003                       -
  9. - Comments : Import Information if available  _
  10. -                                             _
  11. -----------------------------------------------
  12.  
  13.  
  14. #MADEBY#=Cof (cof24@poczta.onet.pl)
  15. #DATEBUILD#=29/04/2003
  16. #WEBSITE#=FILM.ONET.PL - (POLAND)
  17. #NOTE#=Import Additional Info Only. Lot of movie don't have a plot :(
  18. #SCRIPTQUALITY#=3
  19.  
  20.  
  21.  
  22.  
  23. zmienna 50 - oryginal title
  24. zmienna 49 - director
  25. zmienna 48 - actor
  26. zmienna 47 - genre (rodzaj)
  27. zmienna 46 - rating (ocena)
  28. zmienna 45 - comments
  29. zmienna 44 - plot
  30. zmienna 43 - runtime
  31. zmienna 42 - year
  32. zmienna 41 - country
  33. zmienna 40 - movie site id
  34. zmienna 39 - language
  35. zmienna 38 - web link
  36. zmienna 37 - producer
  37. zmienna 36 - writer
  38. zmienna 35 - music
  39. zmienna 34 - region
  40. zmienna 33 - edition
  41. zmienna 32 - screen DVD
  42. zmienna 31 - audio DVD
  43. zmienna 30 - tag line
  44. zmienna 29 - photographer
  45. zmienna 28 - studio
  46. zmienna 27 - MPAA
  47. zmienna 26 - distributor
  48. zmienna 25 - official web
  49.  
  50. zmienna 04 - end string
  51. zmienna 03 - start string
  52. zmienna 02 - const. = 0
  53. zmienna 01 - szukanie = 0/1
  54.  
  55.  
  56.  
  57. #WEBQUERY#=http://film.onet.pl/szukaj.html?sf=#MOVIE#
  58.            
  59.  
  60.  
  61.  
  62. -------------------------------------------------------------------------------------------------------------------
  63. #RIGHTPAGEFOUND#
  64.       #PUT#=0#02#
  65.          #FINDLINE#=<TITLE>Film.onet.pl#01##ONERROR#=*OK*
  66.     #CONDITIONRIGHTPAGE# #01#==#02#
  67. #ENDRIGHTPAGEFOUND#
  68.  
  69. -------------------------------------------------------------------------------------------------------------------
  70. #CREATEMOVIELIST#
  71.     #STRING#=#17#=film.html
  72.     #STARTREADWEB#
  73.     #FINDLINE#=Nie znaleziono#01##ONERROR#=*OK*
  74.     #IF# #01#<>#02#
  75.         #WRITETITLELIST#=
  76.         #WRITETITLELIST#=NIE ZANALEZIONO FILMU
  77.         #WRITETITLELIST#=SPROBOJ WPISAC TYLKO CZESC NAZWY
  78.  
  79.     #GOTO#=ENDOTHERMOVIE
  80.     #ENDIF#
  81.     #STARTREADWEB#
  82.     #WRITETITLELIST#=WYBIERZ FILM Z LISTY:
  83.     #WRITETITLELIST#=---------------------
  84.     #WRITETITLELIST#=
  85.     #FINDLINE#=<TD class=a2 width=#01##ONERROR#=*OK*
  86.     #REPEAT#
  87.         #FIND#=<TD class=a2 width=#03##ONERROR#=*STOP* 
  88.         #FIND#=href="#03##ONERROR#=*STOP*
  89.         #FIND#="#03##ONERROR#=*STOP*
  90.         #FIND#=,#07##ONERROR#=*STOP*
  91.         #FIND#=" #04##ONERROR#=*STOP*
  92.         #TAKEWORD#=#05#,#03#,#04#
  93.         #TAKEWORD#=#18#,#07#,#04#
  94.         
  95.         #FIND#=<B#03# #ONERROR#=*STOP*
  96.         #FIND#=>#03# #ONERROR#=*STOP*
  97.         #FIND#=</A>#04# #ONERROR#=*STOP*
  98.         #TAKEWORD#=#06#,#03#,#04#
  99.         #CHECKVARIABLE#=#06#
  100.         #STARTSUBSTITUTETAGS#  
  101.         #CHECKVARIABLE#=#06#
  102.         #STARTDELETETAGS#
  103.         #IF# #17#==#18#
  104.         #WRITETITLELIST#=http://film.onet.pl/#05#    ---> #06#
  105.         #ENDIF#
  106.  
  107.     #FINDLINE#=<TD class=a2 width=#12##ONERROR#=*OK*
  108.     #WHILE# #02#<>#12#
  109.        
  110.  :ENDOTHERMOVIE 
  111.    
  112. #ENDCREATEMOVIELIST#
  113.  
  114.  
  115. -------------------------------------------------------------------------------------------------------------------
  116. #MOVIETITLE#
  117.        
  118.         #FINDLINE#=>Film</A> › #01##ONERROR#=*STOP*
  119.         #FIND#=155; #03# #ONERROR#=*STOP*
  120.         #FIND#=SP#03#
  121.         #FIND#=;#03#
  122.         #FIND#=</TD>#04# #ONERROR#=*STOP*
  123.         #TAKEWORD#=#50#,#03#,#04# 
  124.         #CHECKVARIABLE#=#50#
  125.         #STARTSUBSTITUTETAGS#  
  126.         
  127.         #TITLE#=#50# #ONERROR#=*ASK*
  128.         #STARTREADWEB#
  129.         #FINDLINE#=115><A href="#01##ONERROR#=*STOP*
  130.         #FIND#=115#03# #ONERROR#=*STOP*
  131.         #FIND#="#03# #ONERROR#=*STOP*
  132.         #FIND#=,#04# #ONERROR#=*STOP*
  133.         #TAKEWORD#=#40#,#03#,#04#
  134.         #TAKEMOVIEID#=#40#
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.         #PUT#=7#11#
  148.         #STRING#=#12#=/A><BR>
  149.         #STRING#=#13#=/A><DIV
  150. ====================================================================================================== DIRECTOR
  151.  
  152.         #STARTREADWEB# 
  153.         #FINDLINE#=yseria:#01# #ONERROR#=*OK*
  154.  
  155.         #IF# #01#==#02#
  156.                 #GOTO#=NODIRECTOR
  157.         #ENDIF#
  158.  
  159.         #REPEAT#
  160.            
  161.         #FIND#=href#03# #ONERROR#=*STOP* 
  162.         #FIND#=><#03# #ONERROR#=*STOP*
  163.         #FIND#=<#03# #ONERROR#=*STOP*
  164.         #FIND#=>#03# #ONERROR#=*STOP*
  165.         #FIND#=<#04# #ONERROR#=*STOP*
  166.         #TAKEWORD#=#49#,#03#,#04#
  167.         #CHECKVARIABLE#=#49#
  168.         #STARTSUBSTITUTETAGS#  
  169.         
  170.         #TAKEDIRECTOR#=#49#
  171.         #FIND#=</A>#04# #ONERROR#=*STOP*
  172.         #TAKEWORDLEN#=#08#,#04#,#11#
  173.         #WHILE# #12#<>#08#
  174.  :NODIRECTOR
  175.  
  176.  
  177.  
  178. ===============================================================================================  WRITER
  179.  
  180.         #STARTREADWEB# 
  181.         #FINDLINE#=scenariusz:#01# #ONERROR#=*OK*
  182.  
  183.         #IF# #01#==#02#
  184.                 #GOTO#=NOWRITER
  185.         #ENDIF#
  186.  
  187.         #REPEAT#
  188.         #FIND#=href#03# #ONERROR#=*STOP* 
  189.         #FIND#=><#03# #ONERROR#=*STOP*
  190.         #FIND#=<#03# #ONERROR#=*STOP*
  191.         #FIND#=>#03# #ONERROR#=*STOP*
  192.         #FIND#=<#04# #ONERROR#=*STOP*
  193.  
  194.         #TAKEWORD#=#36#,#03#,#04#
  195.         #CHECKVARIABLE#=#36#
  196.         #STARTSUBSTITUTETAGS#  
  197.         
  198.         #TAKEWRITER#=#36#
  199.         #FIND#=</A>#04# #ONERROR#=*STOP*
  200.         #TAKEWORDLEN#=#08#,#04#,#11#
  201.         #WHILE# #13#<>#08#
  202.  :NOWRITER
  203.  
  204. ========================================================================================  COUNTRY
  205.         #PUT#=1#11#
  206.         #STRING#=#12#=)
  207.  
  208.         #STARTREADWEB#
  209.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*
  210.         #FIND#= #03# #ONERROR#=*STOP*
  211.         #FIND#=(#03# #ONERROR#=*STOP*
  212.         #COMPUTECURSOR#=+4
  213.         #PUTCURSOR#=#03#
  214.         #TAKEWORDLEN#=#08#,#03#,#11#
  215.  
  216.  
  217.         #IF# #08#==#12#
  218.                 #GOTO#=NOCOUNTRY
  219.         #ENDIF#
  220.  
  221.         #STARTREADWEB#
  222.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*
  223.         #FIND#= #03# #ONERROR#=*STOP*
  224.         #FIND#=(#03# #ONERROR#=*STOP*
  225.         #FIND#=, #04# #ONERROR#=*STOP*
  226.         #TAKEWORD#=#41#,#03#,#04#
  227.         #CHECKVARIABLE#=#41#
  228.         #STARTSUBSTITUTETAGS#  
  229.         #CHECKVARIABLE#=#41#
  230.         #STARTDELETETAGS#  
  231.         
  232.         #TAKECOUNTRY#=#41#
  233.  :NOCOUNTRY
  234.  
  235.  
  236. ========================================================================================  YEAR
  237.  
  238.         #STARTREADWEB#
  239.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*
  240.         #FIND#= #03# #ONERROR#=*STOP*
  241.         #FIND#=(#03# #ONERROR#=*STOP*
  242.         #COMPUTECURSOR#=+4
  243.         #PUTCURSOR#=#03#
  244.         #TAKEWORDLEN#=#08#,#03#,#11#
  245.  
  246.  
  247.         #IF# #08#==#12#
  248.         #STARTREADWEB#
  249.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*     
  250.         #FIND#= #03# #ONERROR#=*STOP*
  251.         #FIND#=(#03# #ONERROR#=*STOP*
  252.         #FIND#=)#04# #ONERROR#=*STOP*
  253.         #TAKEWORD#=#42#,#03#,#04#
  254.         
  255.         #TAKEYEAR#=#42#
  256.  
  257.                 #GOTO#=NOYEAR
  258.         #ENDIF#
  259.         #STARTREADWEB#
  260.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*
  261.  
  262.         #IF# #01#==#02#
  263.                 #GOTO#=NOYEAR
  264.         #ENDIF#
  265.         
  266.         #FIND#= #03# #ONERROR#=*STOP*
  267.         #FIND#=(#03# #ONERROR#=*STOP*
  268.         #FIND#=,#03# #ONERROR#=*STOP*
  269.         #FIND#= #03# #ONERROR#=*STOP*
  270.         #FIND#=)#04# #ONERROR#=*STOP*
  271.         #TAKEWORD#=#42#,#03#,#04#
  272.         
  273.         #TAKEYEAR#=#42#
  274.  :NOYEAR
  275.  
  276.  
  277. ========================================================================================  RUNTIME
  278.  
  279.         #STARTREADWEB#
  280.         #FINDLINE#=czas#01# #ONERROR#=*OK*
  281.  
  282.         #IF# #01#==#02#
  283.                 #GOTO#=NORUNTIME
  284.         #ENDIF#
  285.         
  286.         #FIND#=czas#03# #ONERROR#=*STOP*
  287.         #FIND#= #03# #ONERROR#=*STOP*
  288.         #FIND#=.#04# #ONERROR#=*STOP*
  289.         #TAKEWORD#=#43#,#03#,#04#
  290.         
  291.         #TAKERUNTIME#=#43#
  292.  :NORUNTIME
  293.  
  294.  
  295. ========================================================================================  ACTORS 
  296.  
  297.         #PUT#=31#11#
  298.         #STRING#=#12#=/TD></TR><TR><TD class=a2></TD>
  299.         
  300.  
  301.         #STARTREADWEB# 
  302.         #FINDLINE#=Obsada</FONT>#01# #ONERROR#=*OK*
  303.  
  304.         #IF# #01#==#02#
  305.                 #GOTO#=NOACTORS
  306.         #ENDIF#
  307.  
  308.         #REPEAT#
  309.         #FIND#=href#03# #ONERROR#=*STOP* 
  310.         #FIND#=><#03# #ONERROR#=*STOP*
  311.         #FIND#=<#03# #ONERROR#=*STOP*
  312.         #FIND#=>#03# #ONERROR#=*STOP*
  313.         #FIND#=<#04# #ONERROR#=*STOP*
  314.         #TAKEWORD#=#48#,#03#,#04#
  315.         #CHECKVARIABLE#=#48#
  316.         #STARTSUBSTITUTETAGS#  
  317.         
  318.         #ADDACTOR#=#48#
  319.         #TAKEACTOR#=#48#
  320.         #FIND#=</A>#04# #ONERROR#=*STOP*
  321.         #FIND#=>#04# #ONERROR#=*STOP*
  322.         #FIND#=<#04# #ONERROR#=*STOP*
  323.         #TAKEWORDLEN#=#08#,#04#,#11#
  324.         #WHILE# #12#<>#08#
  325.  :NOACTORS
  326.  
  327. ========================================================================================
  328. PLOT
  329.  
  330.         #STARTREADWEB#
  331.         #FINDLINE#=tym>Tre#01# #ONERROR#=*OK*
  332.  
  333.         #IF# #01#==#02#
  334.                 #GOTO#=NOPLOT
  335.         #ENDIF#
  336.         
  337.        
  338.         #FIND#=class=a2>#03# #ONERROR#=*STOP*
  339.         #FIND#=>#03# #ONERROR#=*STOP*
  340.  
  341.         #FIND#=</DIV>#04# #ONERROR#=*STOP*
  342.     
  343.    
  344.         #TAKEWORD#=#44#,#03#,#04#
  345.         
  346.         #CHECKVARIABLE#=#44#
  347.         #STARTSUBSTITUTETAGS#  
  348.  
  349.         #TAKEPLOT#=#44#
  350.  :NOPLOT
  351.  
  352.  
  353.  #ENDMOVIETITLE#
  354.  #GENRE# 
  355. ========================================================================================  GENRE
  356.  
  357.         #STARTREADWEB# 
  358.         #FINDLINE#=valign=top width="100%#01# #ONERROR#=*OK*
  359.  
  360.         #IF# #01#==#02#
  361.                 #GOTO#=NOGENRE
  362.         #ENDIF#
  363.  
  364.       
  365.         #FIND#= #03# #ONERROR#=*STOP*
  366.         #FIND#=(#03# #ONERROR#=*STOP*
  367.         #FIND#=,#03# #ONERROR#=*STOP*
  368.         #FIND#=)#03# #ONERROR#=*STOP*
  369.         #FIND#=>#03# #ONERROR#=*STOP*
  370.         #FIND#=<#04# #ONERROR#=*STOP*
  371.         #TAKEWORD#=#47#,#03#,#04#
  372.  
  373.         #CHECKVARIABLE#=#47#
  374.         #STARTDELETETAGS#
  375.         
  376.       
  377.         #CHECKVARIABLE#=#47#
  378.         #STARTSUBSTITUTETAGS#  
  379.        
  380.         #TAKEGENRE#=#47#
  381.  
  382.  
  383.  #ENDGENRE#
  384.  :NOGENRE
  385.       
  386. *********************************************************************************************************************
  387. =====================================================================================================================
  388. #SUBSTITUTETAGS#
  389.     #SUBSTITUTEWORD#="="
  390.     #SUBSTITUTEWORD#=▒=╣
  391.     #SUBSTITUTEWORD#=╢=£
  392.     #SUBSTITUTEWORD#=ª=î
  393. #ENDSUBSTITUTETAGS#
  394.  
  395.  
  396.  
  397. #DELETETAGS#
  398.     #DELETEWORD#=</B>
  399.  
  400. #ENDDELETETAGS#
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.